<template>
  <view @click.stop="$emit('click')" class="collect-content" style="opacity: 0.9; margin-top: 17px">
    <image
      v-if="isLike"
	  class="collect-image"
      src="@/static/focus8.png"
    ></image>
    <image
      v-else
      src="@/static/focus5.png"
	  class="collect-image"
    ></image>
  </view>
</template>

<script>
import { mapState } from 'vuex'
import request from '@/common/request'

export default {
  name: 'like',
  props: {
    isLike: Boolean
  },
  computed: {
    ...mapState({
      token: (state) => state.token
    })
  },
  methods: {
	  
  }
}
</script>
<style>
	.collect-content{
		/* margin-right: 30px; */
	}
	.collect-image{
		width: 35px;
		height: 30px;
	}
</style>
